{{> headers/_TitleWithSubAndIcon title=name dynamicTitle="true" type=typeDescription icon="link" }}

{{#if values}}
    {{#if schema.grouped}}
    <div class="tab-menu">
        <ul class="nav nav-tabs" role="tablist">
            {{#each schema.orderedProperties}}
                <li><a href="#{{this._id}}" role="tab" data-toggle="tab" aria-expanded="false">{{this.title}}</a></li>
            {{/each}}
        </ul>
    </div>
    {{/if}}

    <div class="panel panel-default {{#if schema.grouped}}fr-panel-tab{{/if}}">
        <div class="panel-body tab-content">
            <div role="tabpanel" class="tab-pane active" id="tabpanel"></div>
        </div>
        <div class="panel-footer clearfix">
            {{> form/_JSONSchemaFooter revert=true }}
        </div>
    </div>
{{else}}
    <div class="panel panel-default">
        <div class="panel-body">
            <div class="call-to-action-block">
                <h3>{{error}}</h3>
            </div>
        </div>
    </div>
{{/if}}
